package com.yang.designmode.singleton;

public class StaticInnerSingletonTest {
    public static void main(String[] args) {
        System.out.println("静态内部类单例并发场景测试");
        for (int i = 0; i < 100; i++) {
            new Thread(() -> {
                System.out.println(StaticInnerSingleton.getInstance());
            }).start();
        }
    }
}
